package cn.zz.comm.types;

/**
 * @author zhongq
 * @since 2021/11/20 14:24
 */
public class SimpleObject<T> {

	private T value;

	public static <T> SimpleObject<T> of(T value) {
		final SimpleObject<T> object = new SimpleObject<>();
		object.setValue(value);
		return object;
	}

	public T getValue() {
		return value;
	}

	public void setValue(T value) {
		this.value = value;
	}
}